package com.hust.hui.quicksilver.alarm.helper;

import com.hust.hui.quicksilver.alarm.SimpleExecuteFactory;
import com.hust.hui.quicksilver.alarm.entity.AlarmLevelEnum;
import com.hust.hui.quicksilver.alarm.execut.IExecute;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by yihui on 2017/5/12.
 */
@Getter
@Setter
public class ExecuteHelper {

    public static ExecuteHelper DEFAULT_EXECUTE = new ExecuteHelper(SimpleExecuteFactory.getExecute(AlarmLevelEnum.NONE), "");

    private IExecute iExecute;

    private String users;

    public ExecuteHelper(IExecute iExecute, String users) {
        this.iExecute = iExecute;
        this.users = users;
    }


}
